<template>
    <div class="hcontent">
        <div class="lun">
           <lunbo :lunbo="lunbo" :isheight="true" :imgname="'img'"></lunbo>
        </div>
        <div class="grid">
            <ul class="mui-table-view mui-grid-view mui-grid-9">
		        <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4">
                    <router-link to="/home/news">
                        <span class="mui-icon "><img src="../images/menu1.png"></span>
                        <div class="mui-media-body">新闻资讯</div>`
                    </router-link>
                </li>
		        <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4">
                    <router-link to="/home/imgls">
		                <span class="mui-icon"><img src="../images/menu2.png"></span>
		                <div class="mui-media-body">图片分享</div>
                    </router-link>
                </li>
		        <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4">
                    <router-link to="/home/shop">
		                <span class="mui-icon "><img src="../images/menu3.png"></span>
		                <div class="mui-media-body">商品购买</div>
                    </router-link>
                </li>
		        <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4"><a href="#">
		                 <span class="mui-icon "><img src="../images/menu4.png"></span>
		                <div class="mui-media-body">留言反馈</div></a></li>
		        <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4"><a href="#">
		                 <span class="mui-icon "><img src="../images/menu5.png"></span>
		                <div class="mui-media-body">视频专区</div></a></li>
		        <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4"><a href="#">
		                    <span class="mui-icon "><img src="../images/menu6.png"></span>
		                    <div class="mui-media-body">联系我们</div></a></li>
		    </ul> 
        </div>
    </div>
</template>
<script>
import lunbo from './subcomponent/lunbo.vue'
export default {
    data(){
        return {
            lunbo:[]
        }
    },
    created(){
        this.getlunbo();
    },
    methods:{
       async getlunbo (){
           const {data}=await this.axios.get("/api/getlunbo");
           if(data.status===0)  this.lunbo=data.message;
        }
    },
    components:{
        lunbo
    }
}
</script>
<style scoped >

.lun{
    height: 300px;
    width: 100%;
}
.hcontent img{
    width: 100%;
    height: 100%;
}
.grid ul,.grid .mui-table-view-cell{
    background: #fff;
    border: none;
}
.grid ul li:active{
    background-color: #ccc;
}
.grid ul img{
    width: 60px;
}
</style>